package com.stud.system;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootVersion;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.stud.common.security.annotation.EnableCustomConfig;
import com.stud.common.security.annotation.EnableRyFeignClients;
import com.stud.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.core.SpringVersion;

/**
 * 系统模块
 *
 * @author stud
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringBootApplication
public class StudSystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(StudSystemApplication.class, args);

        System.out.println("JAVA版本:" + System.getProperty("java.version"));
        System.out.println("Spring版本:" + SpringVersion.getVersion());
        System.out.println("SpringBoot版本:" + SpringBootVersion.getVersion());
        System.out.println("stud-system启动成功");
    }
}
